home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / PROGBLER / A86V318A.LZH / A01.DOC < prev    next >
Text File  |  1988-07-22  |  16KB  |  339 lines

  1. CHAPTER 1   INTRODUCTION AND LEGAL TERMS
  2.  
  3.  
  4. Introduction
  5.  
  6. A86 is the finest assembler available, at any cost under any
  7. terms, for the 86-family of microprocessors (IBM-PC, compatibles,
  8. and not-so-compatibles).  In contrast to software firms who
  9. attempt to restrict the distribution of their products via
  10. protection-schemes, I encourage free distribution, and trust that
  11. those who use my products will pay for them.
  12.  
  13. Please keep in mind the fundamental good spirit of free-
  14. distribution software as you endure the following barrage of
  15. legalities.  Then evaluate the outstanding value that the A86
  16. package offers you.  I assure you that you will not be
  17. disappointed.
  18.  
  19.  
  20. Legal Terms and Conditions
  21.  
  22. This package is provided to you under the following conditions:
  23.  
  24. 1. You may copy the A86Vxxxx.ARC and D86Vxxxx.ARC files, and give
  25.    them to anyone who accepts these terms.  The copies you
  26.    distribute must be complete and unmodified.  You do not have
  27.    to be registered to distribute this package.
  28.  
  29. 2. Even if you have not yet obtained full execution rights, you
  30.    may execute the programs in this package, in order to evaluate
  31.    them.  If you decide that any of this package is of use to
  32.    you, you must become a registered user by sending $50 US ($52
  33.    if you are outside North America) to:
  34.  
  35.       Eric Isaacson
  36.       416 E. University Ave.
  37.       Bloomington, IN 47401-4739
  38.  
  39.    For your convenience, I now accept Visa and MasterCard, by
  40.    telephone.  My number is (812)339-1811.
  41.  
  42.    For the convenience of users in Great Britain, I have
  43.    authorized the firm Shareware Marketing to collect
  44.    registrations for me.  (But the printed version of the manual
  45.    is not yet available from them; if you want it, you should
  46.    order directly from me.)  We'll try to keep the prices about
  47.    the same whether you register through me or through them; it's
  48.    your choice.  Their address is 87 High Street, Tonbridge, Kent
  49.    TN9 1RX; telephone 0732 771344.  They'll send me a list of
  50.    registered users at the end of every month, and I'll send an
  51.    acknowledgement to each user when I get the list.  So if you
  52.    haven't heard from me by the end of the month following your
  53.    registration with them, please let me know.
  54.                                                               1-2
  55.  
  56.    Your registration includes a single update diskette (5.25
  57.    inch, double density), that also includes the A86LIB tool
  58.    available to registered users only.  You may order further
  59.    updates for $10 US, or $12 US if you are overseas.  Once you
  60.    register for this package, you are registered for all future
  61.    versions.  As long as I'm in business, you can get the latest
  62.    version for just the update fee.
  63.  
  64.    I have a combination offer for the A86 and D86 packages.
  65.    Instead of $50 + $50 = $100, I charge $80 ($82 overseas) for
  66.    both.
  67.  
  68.    I also offer a printed version of this manual, covering both
  69.    A86 and D86.  The manual is printed on sheets 8.5 inches high
  70.    and 7 inches wide, with a plastic ring-style binding so the
  71.    book can lay flat.  If you order with your registration the
  72.    manual is an extra $10 to the U.S., $15 overseas.   If you've
  73.    already registered and now want the manual, add $10 for the
  74.    update disk that the manual is bundled with.  There is a limit
  75.    of one manual per computer registered (except you may reorder
  76.    when there is a substantial revision to the manual).
  77.  
  78.    Indiana residents need to add sales tax.  At the current rate
  79.    of 5%, the prices for Indiana residents are $52.50 for one
  80.    product, $63 one product with manual, $84 both products,
  81.    $94.50 both products with manual, $21 manual if already
  82.    registered.
  83.  
  84.    Educational institutions and training facilities MUST be
  85.    registered in order to use A86 in courses.  Contact me for
  86.    special terms.
  87.  
  88.    Companies and government agencies MUST be registered in order
  89.    to use A86 for their work.  Again, contact me for special
  90.    terms.
  91.  
  92. 3. This package may not be sold to anyone.  If the package is
  93.    distributed this package on a diskette, any fees collected
  94.    must be specified as materials/handling, and may not exceed
  95.    $10 for the diskette.
  96.  
  97. 4. The user is completely responsible for determining the fitness
  98.    or usability of this package.  I will not be liable for any
  99.    damages, of any kind, arising from any failure of any programs
  100.    in this package to perform as expected.
  101.  
  102. 5. Only permanent registered users can sell or distribute any
  103.    programs that you have written or modified using this
  104.    assembler.  If you do sell or distribute such programs, you
  105.    must insure that your registered name (company or individual)
  106.    will always be distributed with the program, so that I can
  107.    verify your registration.  Any individual or company found to
  108.    be violating these terms will be liable for triple
  109.    registration fees for every machine they own capable of
  110.    running my assembler (plus any legal and court costs).
  111.                                                               1-3
  112.  
  113.    NOTE that the only computers that need to be registered are
  114.    those executing the program A86.COM.  The programs produced by
  115.    A86 are entirely yours-- there are no "run-time royalties".
  116.  
  117. 6. A86 takes advantage of situations in which more than one set
  118.    of opcodes can be generated for the same instruction.  (For
  119.    example, MOV AX,BX can be generated using either an 89 or 8B
  120.    opcode, by reversing fields in the following ModRM byte.  Both
  121.    forms are absolutely identical in functionality and execution
  122.    speed.)  A86 adopts an unusual mix of choices in such
  123.    situations.  This creates a code-generation "footprint" that
  124.    occupies no space in your program file, but will enable me to
  125.    tell, and to demonstrate in a court of law, if a non-trivial
  126.    object file has been produced by A86. The specification for
  127.    this "footprint" is sufficiently obscure and complicated that
  128.    it would be impossible to duplicate by accident.  I claim
  129.    exclusive rights to the particular "footprint" I have chosen,
  130.    and prohibit anyone from duplicating it.  This has at least
  131.    two specific implications:
  132.  
  133.    a. Any assembler that duplicates the "footprint" is mine.  If
  134.       it is not identified as mine and issued under these terms,
  135.       then those who sell or distribute the assembler will be
  136.       subject to prosecution.
  137.  
  138.    b. Any program marked with the "footprint" has been produced
  139.       by my assembler.  It is subject to condition 5 above.
  140.  
  141.  
  142. Registration Benefits
  143.  
  144. Thank you for enduring the legalities.  They are there to protect
  145. me, and also to convince you that this is my business, from which
  146. I expect to make a living.  I'll now return to a softer sell, to
  147. try to make you want to register for my products.
  148.  
  149. There is a certain amount of ambiguity about when you're still
  150. evaluating A86, and when you're really using A86 and should
  151. register for it.  Some cases are clear (e.g., you're a school
  152. using A86 to teach a course); but many are not.  In practical
  153. reality, it up to you to decide: you are "on your honor". Also in
  154. practical reality, most users who ought to register haven't, yet.
  155. For most, it's not dishonesty but merely procrastination.  So I
  156. have provided some incentives, to prod you into registering.
  157.  
  158. One incentive is the printed manual, which only registered users
  159. can purchase. I haven't left anything out of the disk version of
  160. the manual, but the printed version is formatted and bound much
  161. more nicely than if you print it yourself.
  162.  
  163. Another incentive is the tool A86LIB.COM, that lets you create
  164. libraries of source files, to be automatically searched by A86
  165. whenever your program has undefined symbols.  This means you can
  166. effectively add procedures of arbitrary power and complexity to
  167. A86's language.
  168.                                                               1-4
  169.  
  170. Also, when you register you're on my mailing list.  I'll
  171. occasionally send you notices about what I've added to A86 and
  172. D86 since the last notice.  When I bring out new products, you'll
  173. hear about them.  (I'm working on a library of source files for
  174. A86, and also a 386 assembler-debugger package.)
  175.  
  176. Finally, there are the intangible incentives.  You know you've
  177. done the right thing.  You're letting me know that you appreciate
  178. what I've done.  You're letting the world know that quality
  179. software can succeed when distributed as shareware.
  180.  
  181.  
  182. Overview of A86
  183.  
  184. A86 accepts assembly language source files, and transforms them
  185. directly into either: (1) .COM files executable under MS-DOS,
  186. starting at offset 0100 within a code segment; (2) .OBJ files
  187. suitable for feeding to a linker; or (3) object files starting at
  188. offset 0, suitable for copying to ROMs.  A86 is a full featured,
  189. professional quality program. I designed A86 to be as closely
  190. compatible to the standard Intel/IBM assembly language as
  191. possible, given that I insisted upon making design and language
  192. enhancements necessary to make A86 the best possible assembler.
  193. Some of A86's most notable features are:
  194.  
  195. * A86 is blazingly fast-- 4 times as fast as MASM V5.1. In the
  196.   best conditions (large program, 8MHz AT,  RAM drive) A86
  197.   assembles at a rate of over a thousand lines per second.
  198.   That's per second.  NOT per minute, per second.
  199.  
  200. * A86 is simple to use.  You can feed it a program containing
  201.   just machine instructions, without the red tape (NAME, ASSUME,
  202.   SEGMENT PARA PUBLIC, PROC, ENDP, END, PUBLIC, EXTRN, etc. etc.)
  203.   necessary with other assemblers.  The output of A86 can be a
  204.   .COM file, ready to execute immediately.  You don't have to go
  205.   through a linker.  Or, if you want to go through a linker, A86
  206.   will produce a correct .OBJ file even if no red tape directives
  207.   are given-- the default settings are compatible with most high-
  208.   level languages.  (If you have programs written for that other
  209.   assembler containing the red tape directives, you may leave
  210.   them in: A86 knows about them, and is programmed to act upon
  211.   them when assembling .OBJ files, and ignore them if assembling
  212.   .COM files.)
  213.  
  214. * In spite of its simplicity, A86 encourages modular programming,
  215.   even in its .COM mode, with separately-developed source files.
  216.   This is because A86 assembles multiple source files in its
  217.   invocation line; and because A86 assembles source files faster
  218.   than other people's linkers can link their object files.  You
  219.   get all the advantages of relocation/linkage systems (building
  220.   up libraries of reliable program modules that you can piece
  221.   together), without the disadvantages (excessive,
  222.   time-and-source-code-wasting, confusing red tape).
  223.                                                               1-5
  224.  
  225. * A86 has ample capacity for really large programming projects.
  226.   Its symbol table capacity is approximately 1500 10-letter
  227.   symbols, plus room for 8K bytes of compressed macro definition
  228.   text.  (10 letters is an average symbol length; A86 recognizes
  229.   up to 127 letters in a symbol.) Plus, A86's generic local label
  230.   facility effectively doubles your symbol table capacity.
  231.  
  232. * A86 has language extension features that, once you start using,
  233.   you'll never want to do without.  These include multiple
  234.   operands to PUSH and POP; conditional returns; MOV from one
  235.   segment register to another; assembly time assertion checking;
  236.   based structures; and IF (flag) (statement).
  237.  
  238. * A86's macro processor is the best, achieving an optimal balance
  239.   between ease of use and raw power.  Its looping and text
  240.   concatenation abilities let you define sophisticated macros,
  241.   whose calls look just like the machine instructions that
  242.   surround them; without the clumsy invocation syntax required by
  243.   other macro processors of A86's power.
  244.  
  245. * A86 provides clear, English error messages, given right at the
  246.   point in the source code where A86 detected the error.  The
  247.   messages are actually inserted into your source file, where you
  248.   can read them and correct your code at the same time.  You can
  249.   remove the messages yourself, or A86 will remove them for you
  250.   when it reassembles the file.  (Fear not: your original source
  251.   is preserved in x.OLD if you want it.  Or you can disable this
  252.   feature and send error messages to a .ERR file.)
  253.  
  254. * A86 provides a full complement of assembly time expression
  255.   arithmetic operators, compatible with Intel/IBM assemblers. A86
  256.   also provides 4-function floating point arithmetic in assembly
  257.   time expressions used for floating point initializations (an
  258.   A86-exclusive feature).
  259.  
  260. * A86 assembles the floating point instruction set of the
  261.   8087/287, and the extended instruction set of the 186/286/NEC
  262.   series.  This now includes the NEC-unique instructions, which I
  263.   had been unaware of until somebody pointed them out to me.
  264.  
  265. * A86 has a built-in source file library feature.  Any undefined
  266.   symbols in your program are automatically searched for in a
  267.   special library file A86.LIB, and the associated source files
  268.   are automatically assembled.  This makes access to library
  269.   routines as effortless as it is in the "C" programming
  270.   language.  A sample A86.LIB file is included in the shareware
  271.   version of the package. Only registered users should have the
  272.   tool A86LIB, with which you can create your own library files.
  273.  
  274. * A86 works with an associated symbolic debugger, D86, to make
  275.   the finest development environment available for the PC.  See
  276.   the D86 package, available now, for the details of its
  277.   wonderful features.
  278.                                                               1-6
  279.  
  280. About the Author
  281.  
  282. I am an independent software consultant.  I have worked with
  283. Intel microprocessors since the early days of the 8080.  As an
  284. employee of Intel, I was a part of the two-man team that
  285. implemented the first ASM86 assembler. Having worked with all the
  286. processors of the 86 family from the beginning, I know as much as
  287. anyone about their machine-language architecture.  I have written
  288. a book, The 80386/387 Architecture, by Morse, Isaacson, and
  289. Albert, published by Wiley and Sons, ISBN 0-471-85352-6.  Look
  290. for it in your bookstore (or I'll send you a copy for $25, which
  291. is the list price plus a nickel).
  292.  
  293. A86 and D86 themselves are mature, solid programs.  They have
  294. been in existence since 1984, running first under my own,
  295. proprietary operating system; then later under the Xenix
  296. operating system on Altos computers, used by myself and my
  297. clients.  I have been making a decent living from A86 and D86 for
  298. some time now, and with your much-appreciated support, I will
  299. continue to improve my products, and enhance them with new,
  300. related offerings.
  301.  
  302.  
  303. How to Get in Touch With Me
  304.  
  305. For earlier versions of A86, I didn't give out my telephone
  306. number, because I was afraid that all my time would be chewed up
  307. giving telephone support.  But then I attended a convention of
  308. shareware programmers, in which the Big Boys (Wallace, Button,
  309. Magee, etc.) unanimously agreed that a product needs telephone
  310. support to be successful.  So I'll field questions from
  311. REGISTERED users (and you can register on the spot, with a credit
  312. card).
  313.  
  314. So now your choices for contacting me are:
  315.  
  316. 1. Phone me by voice at (812)339-1811.  Have your credit card
  317.    ready if you haven't registered yet.  If you get an answering
  318.    machine, give your card number, expiration date, name as it
  319.    appears on the card, address, city, state, zip, phone number
  320.    with area code, which product or products your are registering
  321.    for, and the amount.
  322.  
  323.    Sorry, I can't guarantee to return everybody's long distance
  324.    calls.  If you'd like to be SURE I'll get back to you, please
  325.    invite me to call you back collect, or tell me to charge the
  326.    cost of the call to your credit card.
  327.  
  328. 2. Write to me-- type A86 with no operands to get my address.
  329.  
  330. 3. Leave me bulletin board mail, on the Bloomington PC-Link
  331.    Central bulletin board, at (812)335-7252; or Indiana On-Line,
  332.    at (812)332-7227.  I'll reply on the same board.
  333.  
  334. PLEASE contact me if you find bugs in my programs; I'll fix them!
  335. It's very frustrating to hear about people telling each other
  336. about bugs, and not telling me.  I still await your bug list,
  337. Greg Wettstein.
  338.  
  339.